package JLB_Chapter_05;

import java.util.Date;

// GetDate
public class code_05_29 {
    public static void main(String[] args) {
        Date date = new Date();
        String hour = String.format("%tH",date);
        String minute = String.format("%tM",date);
        String second = String.format("%tS",date);
        System.out.println(hour);
        System.out.println(minute);
        System.out.println(second);
    }
}
